package javay.math.expr;

public interface ExprConts {
  public static final String OPERATOR_CHARS = "+-*/=^()!%";
  public static final String ADD = "+";
  public static final String SUB = "-";
  public static final String MUL = "*";
  public static final String DIV = "/";
  public static final String MOD = "mod";
  public static final String POW = "^";
  public static final String ROOT = "root";
  public static final String AND = "and";
  public static final String OR  = "or";
  public static final String XOR = "xor";

  public static final String FAC = "!";
  public static final String PER = "%";
  public static final String NOT = "not";
  public static final String LSH = "lsh";
  public static final String RSH = "rsh";
  public static final String INT = "int";
  public static final String SIN = "sin";
  public static final String COS = "cos";
  public static final String TAN = "tan";
  public static final String EXP = "exp";
  public static final String LN  = "ln";
  public static final String LOG = "log";
  public static final String PLUS = "+:";
  public static final String MINUS = "-:";
  public static final String DMS = "dms";
  public static final String SMD = "smd";

  public static final String EQU = "=";
  public static final String LEFT = "(";
  public static final String RIGHT = ")";
  public static final String ARC = "arc";
  public static final String NEGATE = "negate";
  
  public static final String ARM = "arm"; // 算术平均值 Arithmetic mean
  public static final String RMS = "rms"; // 平方平均值
  public static final String SUM = "sum"; // 和
  public static final String SOS = "sos"; // 平方和 Sum of Squares
  public static final String SSD = "ssd"; // 样本标准差 sample standard deviation
  public static final String PSD = "psd"; // 总体标准差 population standard deviation
}
